#!/bin/bash
echo $PATH
node -v
npm -v

npm install git+http://mengfanwei:meng19970630@49.4.78.89/fds/web-datago-common.git --no-save
cnpm i

rm -rf ./dist/*
rm -rf ./serveFiles
npm run build-dev
mkdir serveFiles
cp -r dist serveFiles
cp -r nginx serveFiles
cp -r ./docker-compose.yml serveFiles
cp -r ./deploy-dev.sh serveFiles
